cmake_minimum_required(VERSION 3.6)

#add_definitions(-DUSE_FREETYPE)

file(GLOB_RECURSE  DIR_HEADERS *.h)

file(GLOB_RECURSE  DIR_SRCS *.cpp *.c)

create_filter_by_dir(${DIR_HEADERS} ${DIR_SRCS})

add_library(Common ${DIR_HEADERS} ${DIR_SRCS})

target_link_libraries(Common ${OGLDEV_LINK_LIBS})